package com.ncloud.crm.service;

import java.util.List;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.ncloud.crm.entity.order.WorkNode;

/**
 * Created by shiqiang on 2017/4/11.
 */
public interface WorkNodeService extends BaseService{
    public JSONArray getId(JSONObject json);

	public List<WorkNode> getNodesByWorkId(Long workId);

	public int updateWorkNode(WorkNode workNode);

	public JSONObject getNewNodeInfo(WorkNode workNode);

	public JSONObject getNodeChangeOldInfo(WorkNode workNode);

	public List<WorkNode> getNodesByOrderId(Long orderId);
}
